Class Decision

java.lang.Object
edu.uky.ai.tic.ai.Decision

public class Decision
extends java.lang.Object
Represents a decision made by a Bot about which Move to make next and how many possible moves the bot considered while making its decision.
Author:
Stephen G. Ware
  • Field Summary

    Fields 
    Modifier and Type Field Description
    Move move
    The move to make
    int work
    The number of nodes in the game tree that the bot expanded before making this decision
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • move

      public final Move move
      The move to make
    • work

      public final int work
      The number of nodes in the game tree that the bot expanded before making this decision
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object